export const colorsA = [
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(0, 145, 255,0.8)",
      },
      {
        offset: 1,
        color: "rgba(0, 145, 255, 0)",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(255, 184, 0,0.8)",
      },
      {
        offset: 1,
        color: "rgba(255, 184, 0, 0)",
      },
    ],
    globalCoord: false,
  },
];

export const colorsB = [
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(0,219,254,0.2)",
      },
      {
        offset: 0.5,
        color: "rgba(0,219,254,0.1)",
      },
      {
        offset: 1,
        color: "rgba(0,213,255,0)",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(56,119,242,0.3)",
      },
      {
        offset: 0.5,
        color: "rgba(56,119,242,0.2)",
      },
      {
        offset: 1,
        color: "rgba(25,120,229,0)",
      },
    ],
    globalCoord: false,
  },
];

export const colorsC = [
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(0,219,254,0.4)",
      },
      {
        offset: 0.5,
        color: "rgba(0,219,254,0)",
      },
      {
        offset: 1,
        color: "rgba(0,213,255,0)",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "rgba(56,119,242,0.6)",
      },
      {
        offset: 0.5,
        color: "rgba(56,119,242,0)",
      },
      {
        offset: 1,
        color: "rgba(25,120,229,0)",
      },
    ],
    globalCoord: false,
  },
];

export const colorsD = [
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#1AE4E4",
      },
      {
        offset: 1,
        color: "#0BC5C5",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#29CBFF",
      },
      {
        offset: 1,
        color: "#129CFF",
      },
    ],
    globalCoord: false,
  },
];

export const colorsE = [
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#0E5FFF",
      },
      {
        offset: 1,
        color: "#03DFFC",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#00FAF8",
      },
      {
        offset: 1,
        color: "rgba(24, 146, 254, 0)",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#1892FE",
      },
      {
        offset: 1,
        color: "rgba(24, 146, 254, 0)",
      },
    ],
    globalCoord: false,
  },
  {
    type: "linear",
    x: 0,
    y: 0,
    x2: 0,
    y2: 1,
    colorStops: [
      {
        offset: 0,
        color: "#FF8F00",
      },
      {
        offset: 1,
        color: "rgba(24, 146, 254, 0)",
      },
    ],
    globalCoord: false,
  },
];

export const title = {
  textStyle: {
    // color: "#C0C4CC",
    color: "#FFF",
    fontSize: 13,
    // fontWeight: "bold",
  },
};

export const legend = {
  textStyle: {
    // color: "#C0C4CC",
    color: "#FFF",
    fontSize: 13,
    // fontWeight: "bold",
  },
};

export const xAxis = {
  axisLabel: {
    // 坐标轴刻度标签的相关设置
    show: true, // 是否展示坐标轴label
    // color: "#D8F0FF",
    color: "#FFF",
    fontSize: 12,
    interval: "auto",
  },
};

export const yAxis = {
  axisLabel: {
    // 坐标轴刻度标签的相关设置
    show: true, // 是否展示坐标轴label
    color: "rgba(255, 255, 255, 1)",
    fontSize: 12,
    formatter: "{value}", // 格式化label
  },
};
